package com.hua.designpattern.structural.decorator;

public class ShapeDecoratorDrawRed extends ShapeDecorator {

	public ShapeDecoratorDrawRed(Shape target) {
		this.target = target;
	}

	@Override
	public void draw() {
		drawBlue();
		target.draw();
	}

	public void drawBlue() {
		System.out.println("--invoke draw red--");

	}

}
